﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Site.Master" AutoEventWireup="true"
    CodeBehind="GameShowPurchase.aspx.cs" Inherits="FortuneHeaven.Web.Pages.Shop.GameShowPurchase" %>
<%@ Register TagPrefix="uc1" TagName="SePagination" src="~/Controls/SePagination.ascx" %>
<%@ Register  Src="~/Controls/LoginPanel.ascx" TagName="login" TagPrefix="uc"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
    <link type="text/css" rel="stylesheet" href="../../Content/CSS/public.css" />
    <link type="text/css" rel="stylesheet" href="../../Content/CSS/shopsort.css" />
    <style type="text/css">
    .headpic .hcwdwp {
    background-image: url("../../Content/Image/Common/spbg-06.jpg");
    background-repeat: no-repeat;
    color: #4F5152;
    height: 36px;
    line-height: 36px;
    margin: 10px auto;
    text-align: center;
    width: 187px;
    
}
.headpic .hcye {
    color: #3B3B3B;
    height: 30px;
    line-height: 30px;
    margin: 10px auto 30px;
    width: 187px;
}
.headpic .hcye em {
    color: #ED5400;
}
.tpage {
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.tpage .front {
    color: #414141;
}
.tpage .tl {
    color: #C27443;
}
.tpage a {
    color: #3B5A6E;
    margin: 0 10px;
}
    </style>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".useselect").click(function () {
                var c = $(this).attr("ta");
                setTimeout(function () {
                    $(".useselectimg").attr("src", c)
                }, 10);
            });
        });
        function alertPurchase() {
            if (confirm("是否确定购买?")) {
                return true;
            }
            else {
                return false;
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="subnav">
        <div class="con conone">
        <a href="GameShowPurchase.aspx">游戏秀</a>|<a href="EquipPurchase.aspx">道具</a>|<a href="GiftPurchase.aspx">奖品</a></div>
    </div>
    <div id="main">
        <div class="mleft">
            <div class="headpic" id="divHeadpic" runat="server" visible="false">
                <p>
                    <span class="left">用户名称:<asp:Literal ID="ltUserName" runat="server"></asp:Literal></span></p>
                <div class="picture">
                    <a href="javascript://">
                        <img id="imgHead" runat="server" class="useselectimg" style=" width:185px; height:300px;" src="../../Content/Image/Main/ssbg-03.jpg"></a></div>
                <div class="hcwdwp weight">我的游戏秀</div>
                <div class="hcye">财富值余额：<em><asp:Literal ID="ltFortune" runat="server"></asp:Literal></em></div>
            </div>
             <uc:login ID="uclogin" runat="server"></uc:login>
        </div>
        <div class="mmid">
            <div class="mmidtit">
            <span class="left">游戏秀</span> <span class="right"><asp:Literal ID="ltGameShowType" runat="server"></asp:Literal></span></div>
            <div class="mmidcon">
            <asp:Repeater ID="rpGameShow" runat="server" ><ItemTemplate>
            <div class="list">
                    <div class="left">
                        <a href="javascript://">
                            <img style=" width:112px; height:180px;" src='<%#  GetPagesURL(FortuneHeavenCommon.ComMethod.CommonPath.GameShow, Eval("Image"))%>' /></a>
                            <%--<%# Container.ItemIndex < 2?"<img class=\"hot\" src=\"../../Content/Image/Main/sspic11.jpg\" />":"" %>--%></div>
                    <div class="right">
                        <p>
                            <%#Eval("Name")%>
                        <h1>
                            <%#Eval("Price")%>财富值 / 件</h1>
                        <h2>
                            <%#Eval("Description")%></h2>
                        <h3>
                        <a href="javascript://" class="useselect" ta='<%#  GetPagesURL(FortuneHeavenCommon.ComMethod.CommonPath.GameShow, Eval("Image"))%>'> <img src="../../Content/Image/Main/sspic-14.jpg" /></a>
                         <asp:LinkButton ID="bpPurchase" runat="server" CommandArgument='<%#Eval("ID")%>' OnClientClick="return alertPurchase();" OnClick="PurchaseHead"> <img src="../../Content/Image/Main/sspic-15.jpg" /></asp:LinkButton>
                    </div>
                </div>
            </ItemTemplate> </asp:Repeater>
            <div class="clear"> </div>
                <div class="tpage">
                    <uc1:SePagination ID="usPager" runat="server" />    
                 </div>
                </div>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
